﻿<Window x:Class="Mengsk.ERP.App.OrderEdit"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="编辑订单备注" Height="200" Width="400" ResizeMode="CanMinimize" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen">
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="5">
            <RadioButton Name="rbRed" Margin="5">
                <Image Source="/Mengsk.ERP;component/Orders/Images/Red.jpg" Stretch="Fill" Height="16" Width="16" />
            </RadioButton>
            <RadioButton Name="rbYellow" Margin="5">
                <Image Height="16" Width="16" Source="/Mengsk.ERP;component/Orders/Images/Yellow.jpg" Stretch="Fill"/>
            </RadioButton>
            <RadioButton Name="rbGreen" Margin="5">
                <Image Height="16" Width="16" Source="/Mengsk.ERP;component/Orders/Images/Green.jpg" Stretch="Fill"/>
            </RadioButton>
            <RadioButton Name="rbBlue" Margin="5">
                <Image Height="16" Width="16" Source="/Mengsk.ERP;component/Orders/Images/Blue.jpg" Stretch="Fill"/>
            </RadioButton>
            <RadioButton Name="rbPink" Margin="5">
                <Image Height="16" Width="16" Source="/Mengsk.ERP;component/Orders/Images/Pink.jpg" Stretch="Fill"/>
            </RadioButton>
        </StackPanel>
        
        <TextBox Grid.Row="1" Name="tbComment" Margin="3" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"/>
        
        <Button Grid.Row="2" Name="btnOK" Content="保存" Margin="3" Click="btnOK_Click" Width="60"/>
        
    </Grid>
</Window>
